package designpattern;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/20 22:18
 */
public class SingleResponsibility3 {
}

class Vehicle2 {
    public void run(String vehicle) {
        System.out.println(vehicle + " 在公路上跑");
    }
}

